//
//  AboutViewController.m
//  SouthChina
//
//  Created by Mr.Y on 14-10-9.
//  Copyright (c) 2014年 科创. All rights reserved.
//

#import "AboutViewController.h"

@interface AboutViewController ()

@end

@implementation AboutViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    [self addTitleBarWithBackBtn:@"关于" needReturn:YES];
    //UIImageView * aboutImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, TITLE_BAR_HEGIHT+(YNEW), SCREEN_WIDTH, 250)];
    UIImageView * aboutImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, TITLE_BAR_HEGIHT+(YNEW), SCREEN_WIDTH, SCREEN_HEIGHT-TITLE_BAR_HEGIHT-YNEW)];
    aboutImage.image = [UIImage imageNamed:@"about_log.png"];
    [self.view addSubview:aboutImage];
    /*
     UILabel * betaLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, self.view.frame.size.height-85, SCREEN_WIDTH-20, 21)];
     
     //betaLabel.text = [NSString stringWithFormat:@"移动校园门户(v%@)",CURAPPVERSION];
     betaLabel.text = @"当前已是最新版本";
     betaLabel.textAlignment = NSTextAlignmentCenter;
     betaLabel.font = [UIFont boldSystemFontOfSize:14.0f];
     betaLabel.textColor =[UIColor colorWithRed:30.0f/255.0f green:144.0f/255.0f blue:255.0f/255.0f alpha:1.0f];
     [self.view addSubview:betaLabel];
     
     UIImageView * lineImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, self.view.frame.size.height-60, SCREEN_WIDTH, 1)];
     lineImage.backgroundColor = [UIColor colorWithRed:236/255.0f green:235/255.0f blue:243/255.0f alpha:1];
     [self.view addSubview:lineImage];
     
     UILabel * detailLabel1 = [[UILabel alloc] initWithFrame:CGRectMake(50, self.view.frame.size.height-55, SCREEN_WIDTH-100, 21)];
     detailLabel1.text = @"科创信息 版权所有";
     detailLabel1.textAlignment = NSTextAlignmentCenter;
     detailLabel1.font = [UIFont systemFontOfSize:12.0f];
     detailLabel1.textColor = [UIColor grayColor];
     [self.view addSubview:detailLabel1];
     
     UILabel * detailLabel2 = [[UILabel alloc] initWithFrame:CGRectMake(0, self.view.frame.size.height-30, SCREEN_WIDTH, 21)];
     detailLabel2.text = @"Copyright © CSU-2015 All Rights Reserved";
     detailLabel2.textAlignment = NSTextAlignmentCenter;
     detailLabel2.font = [UIFont systemFontOfSize:12.0f];
     detailLabel2.textColor = [UIColor grayColor];
     [self.view addSubview:detailLabel2];*/
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
